﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DocumentGain.model
{
    /// <summary>
    /// SF_WorkItem:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class SF_WorkItem
    {
        public SF_WorkItem()
        { }
        #region Model
        private string _objectid;
        private string _actionname;
        private int? _activityassisted;
        private int? _activityconsulted;
        private string _activityname;
        private int? _approval;
        private int? _assistantfinished;
        private int? _assisted;
        private int? _batchprocessing;
        private string _canceledbyworkitem;
        private DateTime? _canceltime;
        private int? _colorargb;
        private string _comment;
        private int? _consultantfinished;
        private int? _consulted;
        private string _consultedworkitemid;
        private string _creator;
        private string _delegant;
        private string _displayname;
        private int? _emailapprove;
        private int? _finishaccesspoint;
        private string _finisher;
        private DateTime? _finishtime;
        private string _instanceid;
        private string _itemflag;
        private int? _itemtype;
        private int? _locked;
        private string _locker;
        private int? _locking;
        private long? _longpermittedactions;
        private long? _longusedtime;
        private long? _longwaittime;
        private int? _monitorassistant;
        private int? _monitorconsultant;
        private int? _notifyfinish;
        private string _orgunit;
        private string _originator;
        private int? _overtimepolicy;
        private string _participant;
        private string _participategroup;
        private DateTime? _planfinishtime;
        private long? _planusetime;
        private int? _priority;
        private string _receiptor;
        private DateTime? _receivetime;
        private long? _replyid;
        private int? _seqno;
        private string _sheetaddress;
        private int? _sheettype;
        private int? _smsapprove;
        private int? _spstaskbounded;
        private string _spstasklist;
        private int? _spstasklistitemid;
        private string _spstasksite;
        private string _spstaskwebname;
        private DateTime? _starttime;
        private int? _state;
        private long? _tokenid;
        private int? _urged;
        private string _workflowname;
        private string _workflowpackage;
        private int? _workflowversion;
        private int? _parentindex;
        private string _parentobjectid;
        private string _parentpropertyname;
        private string _consultsubject;
        private string _autobackactivityname;
        private string _autobackparticipant;
        /// <summary>
        /// 
        /// </summary>
        public string ObjectID
        {
            set { _objectid = value; }
            get { return _objectid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ActionName
        {
            set { _actionname = value; }
            get { return _actionname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ActivityAssisted
        {
            set { _activityassisted = value; }
            get { return _activityassisted; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ActivityConsulted
        {
            set { _activityconsulted = value; }
            get { return _activityconsulted; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ActivityName
        {
            set { _activityname = value; }
            get { return _activityname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Approval
        {
            set { _approval = value; }
            get { return _approval; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? AssistantFinished
        {
            set { _assistantfinished = value; }
            get { return _assistantfinished; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Assisted
        {
            set { _assisted = value; }
            get { return _assisted; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? BatchProcessing
        {
            set { _batchprocessing = value; }
            get { return _batchprocessing; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CanceledByWorkItem
        {
            set { _canceledbyworkitem = value; }
            get { return _canceledbyworkitem; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CancelTime
        {
            set { _canceltime = value; }
            get { return _canceltime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ColorArgb
        {
            set { _colorargb = value; }
            get { return _colorargb; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Comment
        {
            set { _comment = value; }
            get { return _comment; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ConsultantFinished
        {
            set { _consultantfinished = value; }
            get { return _consultantfinished; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Consulted
        {
            set { _consulted = value; }
            get { return _consulted; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ConsultedWorkItemID
        {
            set { _consultedworkitemid = value; }
            get { return _consultedworkitemid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Creator
        {
            set { _creator = value; }
            get { return _creator; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Delegant
        {
            set { _delegant = value; }
            get { return _delegant; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string DisplayName
        {
            set { _displayname = value; }
            get { return _displayname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? EmailApprove
        {
            set { _emailapprove = value; }
            get { return _emailapprove; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? FinishAccessPoint
        {
            set { _finishaccesspoint = value; }
            get { return _finishaccesspoint; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Finisher
        {
            set { _finisher = value; }
            get { return _finisher; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? FinishTime
        {
            set { _finishtime = value; }
            get { return _finishtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string InstanceId
        {
            set { _instanceid = value; }
            get { return _instanceid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ItemFlag
        {
            set { _itemflag = value; }
            get { return _itemflag; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ItemType
        {
            set { _itemtype = value; }
            get { return _itemtype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Locked
        {
            set { _locked = value; }
            get { return _locked; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Locker
        {
            set { _locker = value; }
            get { return _locker; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Locking
        {
            set { _locking = value; }
            get { return _locking; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? LongPermittedActions
        {
            set { _longpermittedactions = value; }
            get { return _longpermittedactions; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? LongUsedTime
        {
            set { _longusedtime = value; }
            get { return _longusedtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? LongWaitTime
        {
            set { _longwaittime = value; }
            get { return _longwaittime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? MonitorAssistant
        {
            set { _monitorassistant = value; }
            get { return _monitorassistant; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? MonitorConsultant
        {
            set { _monitorconsultant = value; }
            get { return _monitorconsultant; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? NotifyFinish
        {
            set { _notifyfinish = value; }
            get { return _notifyfinish; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string OrgUnit
        {
            set { _orgunit = value; }
            get { return _orgunit; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Originator
        {
            set { _originator = value; }
            get { return _originator; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? OvertimePolicy
        {
            set { _overtimepolicy = value; }
            get { return _overtimepolicy; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Participant
        {
            set { _participant = value; }
            get { return _participant; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ParticipateGroup
        {
            set { _participategroup = value; }
            get { return _participategroup; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? PlanFinishTime
        {
            set { _planfinishtime = value; }
            get { return _planfinishtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? PlanUseTime
        {
            set { _planusetime = value; }
            get { return _planusetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Priority
        {
            set { _priority = value; }
            get { return _priority; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Receiptor
        {
            set { _receiptor = value; }
            get { return _receiptor; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? ReceiveTime
        {
            set { _receivetime = value; }
            get { return _receivetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? ReplyID
        {
            set { _replyid = value; }
            get { return _replyid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? SeqNo
        {
            set { _seqno = value; }
            get { return _seqno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SheetAddress
        {
            set { _sheetaddress = value; }
            get { return _sheetaddress; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? SheetType
        {
            set { _sheettype = value; }
            get { return _sheettype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? SMSApprove
        {
            set { _smsapprove = value; }
            get { return _smsapprove; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? SpsTaskBounded
        {
            set { _spstaskbounded = value; }
            get { return _spstaskbounded; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SpsTaskList
        {
            set { _spstasklist = value; }
            get { return _spstasklist; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? SpsTaskListItemId
        {
            set { _spstasklistitemid = value; }
            get { return _spstasklistitemid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SpsTaskSite
        {
            set { _spstasksite = value; }
            get { return _spstasksite; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SpsTaskWebName
        {
            set { _spstaskwebname = value; }
            get { return _spstaskwebname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? StartTime
        {
            set { _starttime = value; }
            get { return _starttime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? TokenId
        {
            set { _tokenid = value; }
            get { return _tokenid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Urged
        {
            set { _urged = value; }
            get { return _urged; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string WorkflowName
        {
            set { _workflowname = value; }
            get { return _workflowname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string WorkflowPackage
        {
            set { _workflowpackage = value; }
            get { return _workflowpackage; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? WorkflowVersion
        {
            set { _workflowversion = value; }
            get { return _workflowversion; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ParentIndex
        {
            set { _parentindex = value; }
            get { return _parentindex; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ParentObjectID
        {
            set { _parentobjectid = value; }
            get { return _parentobjectid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ParentPropertyName
        {
            set { _parentpropertyname = value; }
            get { return _parentpropertyname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ConsultSubject
        {
            set { _consultsubject = value; }
            get { return _consultsubject; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AutoBackActivityName
        {
            set { _autobackactivityname = value; }
            get { return _autobackactivityname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AutoBackParticipant
        {
            set { _autobackparticipant = value; }
            get { return _autobackparticipant; }
        }
        #endregion Model

    }
}
